/* Filename: main.c
 * Description: 传参测试
 * Last modified: humble 20200301 19:18
 */
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char **argv) { // argc+argv与glob_t里面的gl_pathc+gl_pathv类似
    printf("argc=%d\n", argc);
    // for(int i=0; i < argc; i++){
    for(int i=0; argv[i]!=NULL; i++){
        printf("%s\n", argv[i]);
    }
    return 0;
}